package com.heiye.quiz.biz.constant;

/**
 * @author: heiye
 * @date: 2025/03/19 下午8:44
 * @version: v1.0.0
 * @description: TODO
 */
public interface MQConstants {
    /**
     * topic 主题：删除问题本地缓存
     */
    String TOPIC_DELETE_QUIZ_LOCAL_CACHE = "DeleteQuizLocalCacheTopic";

    /**
     * Topic 主题：延迟双删 Redis 问题缓存
     */
    String TOPIC_DELAY_DELETE_QUIZ_REDIS_CACHE = "DelayDeleteQuizRedisCacheTopic";

    /**
     * Topic: 点赞、取消点赞共用一个
     */
    String TOPIC_LIKE_OR_UNLIKE = "LikeUnlikeTopic";

    /**
     * 点赞标签
     */
    String TAG_LIKE = "Like";

    /**
     * Tag 标签：取消点赞
     */
    String TAG_UNLIKE = "Unlike";

    /**
     * Topic: 计数 - 笔记点赞数
     */
    String TOPIC_COUNT_QUIZ_LIKE = "CountQuizLikeTopic";

    /**
     * Topic: 问题操作（发布、删除）
     */
    String TOPIC_QUIZ_OPERATE = "QuizOperateTopic";

    /**
     * Tag 标签：问题发布
     */
    String TAG_QUIZ_PUBLISH = "publishQuiz";

    /**
     * Tag 标签：问题删除
     */
    String TAG_QUIZ_DELETE = "deleteQuiz";
}
